package com.yanfan.energy.domain.statist;

import java.io.Serializable;

/**
 * @author caijinkang
 * @date 2022年08月23日 11:50
 */
public class DateByStatistics implements Serializable {
    private Integer type;
    private String date;
    private String hour;
    private Double consumption;
    private Double dosage;
    private Double number;

    public DateByStatistics() {
    }

    public DateByStatistics(Integer type, String date, String hour, Double consumption, Double dosage, Double number) {
        this.type = type;
        this.date = date;
        this.hour = hour;
        this.consumption = consumption;
        this.dosage = dosage;
        this.number = number;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public Double getConsumption() {
        return consumption;
    }

    public void setConsumption(Double consumption) {
        this.consumption = consumption;
    }

    public Double getDosage() {
        return dosage;
    }

    public void setDosage(Double dosage) {
        this.dosage = dosage;
    }

    public Double getNumber() {
        return number;
    }

    public void setNumber(Double number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "DateByStatistics{" + "type=" + type + ", date='" + date + '\'' + ", hour='" + hour + '\'' + ", consumption=" + consumption + ", dosage=" + dosage + ", number=" + number + '}';
    }
}
